package com.yuchen.ishop.seller;

import com.yuchen.core.MyPager;
import com.yuchen.ishop.entity.SellerXiaoer;
import com.yuchen.jaxrs.Responses;

import java.util.Map;

/**
 * 店小二
 */
public interface XiaoerService {

    SellerXiaoer insertXiaoer(SellerXiaoer sellerXiaoer);//保存小二

    Responses updateXiaoer(SellerXiaoer sellerXiaoer);

    Responses deleteXiaoer(Long id);

    MyPager findXiaoers(Map cnds);

    Responses existXiaoer(Long sellerId,Long id);

    SellerXiaoer findXiaoer(Long id);

    Responses updatePwd(Map map);//更新密码
}
